﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace IISLogReader
{
    public class LogHeader
    {
        private string _fileName;
        private FileInfo _fileInfo;

        public FileInfo FileInfo
        {
            get { return _fileInfo; }
            set { _fileInfo = value; }
        }

        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }
        
        public LogHeader(string fileName)
        {
            _fileName = fileName;
            _fileInfo = new FileInfo(fileName);
        }
        public LogHeader(FileInfo fileInfo)
        {
            _fileInfo = fileInfo;
            _fileName = fileInfo.Name;
        }
    }
}
